package com.example.rest_client_projet;

import android.app.Activity;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.util.Log;
import android.widget.ProgressBar;

public class MyActivity extends Activity {
    private ProgressDialog mDialog;
    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        Log.e("REST #", "deb");
        mDialog = ProgressDialog.show(MyActivity.this, "", "Loading. Please wait...", true);
        mDialog.show();
        new GetEmployes(this,mDialog).execute();
    }

}
